package com.ibiaoke.order.entity;

import com.ibiaoke.goods.entity.PtGoods;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class PtOrder implements Serializable {
    /**
     * Id
     */
    private Integer ptOrderId;

    /**
     * 拼团订单号
     */
    private String ptOrderCode;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 开团id或者拼团id
     */
    private Integer kid;

    /**
     * 商品id
     */
    private Integer goodId;

    /**
     * 订单金额
     */
    private BigDecimal price;

    /**
     * 支付类型(1:微信、2:支付宝、3:余额支付)
     */
    private Integer payType;

    /**
     * 开团编码
     */
    private String openCode;

    /**
     * 交易号(微信、支付宝)
     */
    private String transactionNo;

    /**
     * 拼团状态(1已成团、2待付款、3未成团、4待成团、5已收货 6退款成功 7已取消)
     */
    private Integer ptStatus;

    /**
     * 订单类型(1开团订单，2拼团订单)
     */
    private Integer orderType;

    /**
     * 配送类型(1自提，2快递)
     */
    private Integer deliveryType;

    /**
     * 配送地址
     */
    private String deliveryAddress;

    /**
     * 联系人手机号码
     */
    private String contactMobile;

    /**
     * 联系人
     */
    private String contactPersion;

    /**
     * 
     */
    private String source;

    /**
     * 
     */
    private Integer shopId;

    /**
     * 自提门店名称
     */
    private String shopName;

    /**
     * 是否删除(0未删除 1删除)   
     */
    private Integer isdelete;

    /**
     * 是否为开团(1开团 0拼团)
     */
    private Integer isopen;

    /**
     * 开团创建时间
     */
    private Date createTime;

    /**
     * 付款时间
     */
    private Date updateTime;

    /**
     * 开团结束时间
     */
    private Date endTime;

    /**
     * 确认记录(0系统确认，1用户确认)
     */
    private Byte receivedRecord;

    /**
     * 修改记录时间
     */
    private Date recordTime;

    /**
     * 服务号
     */
    private Integer serviceNum;

    private PtGoods ptGoods;

    public PtGoods getPtGoods() {
        return ptGoods;
    }

    public void setPtGoods(PtGoods ptGoods) {
        this.ptGoods = ptGoods;
    }

    private static final long serialVersionUID = 1L;

    public Integer getPtOrderId() {
        return ptOrderId;
    }

    public void setPtOrderId(Integer ptOrderId) {
        this.ptOrderId = ptOrderId;
    }

    public String getPtOrderCode() {
        return ptOrderCode;
    }

    public void setPtOrderCode(String ptOrderCode) {
        this.ptOrderCode = ptOrderCode;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getKid() {
        return kid;
    }

    public void setKid(Integer kid) {
        this.kid = kid;
    }

    public Integer getGoodId() {
        return goodId;
    }

    public void setGoodId(Integer goodId) {
        this.goodId = goodId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public String getOpenCode() {
        return openCode;
    }

    public void setOpenCode(String openCode) {
        this.openCode = openCode;
    }

    public String getTransactionNo() {
        return transactionNo;
    }

    public void setTransactionNo(String transactionNo) {
        this.transactionNo = transactionNo;
    }

    public Integer getPtStatus() {
        return ptStatus;
    }

    public void setPtStatus(Integer ptStatus) {
        this.ptStatus = ptStatus;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public Integer getDeliveryType() {
        return deliveryType;
    }

    public void setDeliveryType(Integer deliveryType) {
        this.deliveryType = deliveryType;
    }

    public String getDeliveryAddress() {
        return deliveryAddress;
    }

    public void setDeliveryAddress(String deliveryAddress) {
        this.deliveryAddress = deliveryAddress;
    }

    public String getContactMobile() {
        return contactMobile;
    }

    public void setContactMobile(String contactMobile) {
        this.contactMobile = contactMobile;
    }

    public String getContactPersion() {
        return contactPersion;
    }

    public void setContactPersion(String contactPersion) {
        this.contactPersion = contactPersion;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public Integer getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(Integer isdelete) {
        this.isdelete = isdelete;
    }

    public Integer getIsopen() {
        return isopen;
    }

    public void setIsopen(Integer isopen) {
        this.isopen = isopen;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Byte getReceivedRecord() {
        return receivedRecord;
    }

    public void setReceivedRecord(Byte receivedRecord) {
        this.receivedRecord = receivedRecord;
    }

    public Date getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(Date recordTime) {
        this.recordTime = recordTime;
    }

    public Integer getServiceNum() {
        return serviceNum;
    }

    public void setServiceNum(Integer serviceNum) {
        this.serviceNum = serviceNum;
    }
}